github.com/klauspost/compress/zstd.encoderState.nInput (field)

13 uses

	github.com/klauspost/compress/zstd (current package)
		enc_jobs.go#L272: 			s.nInput += int64(len(js.filling))
		enc_jobs.go#L341: 	s.nInput += int64(len(job.input))
		encoder.go#L54: 	nInput           int64
		encoder.go#L155: 	s.nInput = 0
		encoder.go#L311: 			s.nInput += int64(len(s.filling))
		encoder.go#L363: 		s.nInput += int64(len(s.filling))
		encoder.go#L388: 	s.nInput += int64(len(s.current))
		encoder.go#L598: 		if len(s.filling) == 0 && !s.headerWritten && !s.eofWritten && s.nInput == 0 {
		encoder.go#L612: 		if s.nInput != s.frameContentSize {
		encoder.go#L613: 			return fmt.Errorf("frame content size %d given, but %d bytes was written", s.frameContentSize, s.nInput)
		encoder.go#L663: 		if len(js.filling) == 0 && !s.headerWritten && !s.eofWritten && s.nInput == 0 {
		encoder.go#L677: 	if s.frameContentSize > 0 && s.nInput != s.frameContentSize {
		encoder.go#L679: 		return fmt.Errorf("frame content size %d given, but %d bytes was written", s.frameContentSize, s.nInput)